package com.xx.app.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * app 用户信息
 */
@ApiModel(value = "用户信息对象")
@Data
public class AppLoginUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户编号")
    private Long uid;

    @ApiModelProperty("钱包地址")
    private String address;

    @ApiModelProperty("邀请码")
    private String inviteCode;

    @ApiModelProperty("上级用户编号")
    private Long parentUid;

    @ApiModelProperty("上级钱包地址")
    private String parentAddress;

    @ApiModelProperty("节点等级")
    private Integer nodeLevel;

    @ApiModelProperty("预售期是否满1500U投资标识 0否 1是")
    private Integer shareholderFlag;

    @ApiModelProperty("预售期算力等级 0-无 1-M1 2-M2 3-M3 4-M4 5-M5")
    private Integer preLevel;

    @ApiModelProperty("算力状态 0无效 1有效")
    private Integer powerStatus;

    @ApiModelProperty("用户状态 0正常 1停用 2删除")
    private Integer status;

    @ApiModelProperty("登录时间戳")
    private Long loginTime;

    @ApiModelProperty("token失效时间戳")
    private Long expireTime;

}